import request from '../utils/request'
let baseUrl = 'http://192.168.1.92:3000/'
/**
 * 获取列表请求封装
 * @param {Object} 请求参数
 */
export const LoginApi = (params) =>
  request({
    url: `${baseUrl}login`, // 接口url
    method: 'POST',
    params:params,
  })
  export const getMenuApi = (params) =>
  request({
    url: `${baseUrl}menu`, // 接口url
    method: 'GET',
    params:params
  })
  export const getUserInfoApi = (params) =>
  request({
    url: `${baseUrl}userInfo`, // 接口url
    method: 'GET',
    params:params
  })